package com.water.app;

import org.springframework.web.multipart.MultipartFile;

import java.time.LocalDateTime;
//websocket消息体
public class PrivateChatMsg {
    private long receiver;
    private long sender;
    private String msg;
    private String date;
    private int isLook;

    public int getIsLook() {
        return isLook;
    }

    public void setIsLook(int isLook) {
        this.isLook = isLook;
    }

    @Override
    public String toString() {
        return "PrivateChatMsg{" +
                "receiver='" + receiver + '\'' +
                ", sender='" + sender + '\'' +
                ", msg='" + msg + '\'' +
                ", date=" + date +
                '}';
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public long getReceiver() {
        return receiver;
    }

    public void setReceiver(long receiver) {
        this.receiver = receiver;
    }

    public long getSender() {
        return sender;
    }

    public void setSender(long sender) {
        this.sender = sender;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
